package com.order.staffrole.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 员工角色管理对象 order_staff_role
 * 
 * @author huhu
 * @date 2020-08-20
 */
public class OrderStaffRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工角色ID */
    private Long staffRoleId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long staffId;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;

    public void setStaffRoleId(Long staffRoleId)
    {
        this.staffRoleId = staffRoleId;
    }

    public Long getStaffRoleId()
    {
        return staffRoleId;
    }
    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId()
    {
        return staffId;
    }
    public void setRoleId(Long roleId)
    {
        this.roleId = roleId;
    }

    public Long getRoleId()
    {
        return roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("staffRoleId", getStaffRoleId())
            .append("staffId", getStaffId())
            .append("roleId", getRoleId())
            .toString();
    }
}
